package com.taotao.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 显示管理员页面
 * @author 天火
 *
 */
@Controller
public class PageControler {

	@RequestMapping("/")
	public String showIndex() {
		return "index";
	}
	//显示商品查询的页面
	//uri：/item-list
	@RequestMapping("/{page}")
	public String showPage(@PathVariable String page) {
		return page;
	}
	
	
	
}
